Fabian Schmidt fapmaster
fapmaster pushed to main at Playground/1brc 2024-08-05 11:21:55 +02:00
3b3801ba0d Going back because compile times trippled
fapmaster pushed to main at Playground/1brc 2024-08-05 10:54:36 +02:00
1c066ec113 accidentally committed bug
fapmaster pushed to main at Playground/1brc 2024-08-05 10:52:55 +02:00
13c54a2811 FxHashMap made me faster, memmap makes me slower, guess I'm using it wrong
fapmaster pushed to main at Playground/1brc 2024-08-02 11:43:03 +02:00
40627f9aeb add solution using libraries to see how fast I can get. For now no difference
fapmaster pushed to main at Playground/1brc 2024-08-01 15:02:10 +02:00
45ae29d3cd organize differently, added criterion as dev-dependency for benchmarks
fapmaster pushed to main at Playground/1brc 2024-08-01 10:24:43 +02:00
8eefe06e8b Formatting
fapmaster pushed to main at Playground/1brc 2024-07-31 14:00:02 +02:00
34768d3ec1 forgot feature flag in last commit
fapmaster pushed to main at Playground/1brc 2024-07-31 13:58:24 +02:00
0ffbff4cbf added 2 new implementations from users who commented on my reddit post as a comparison
fapmaster pushed to main at Playground/1brc 2024-07-31 12:49:13 +02:00
25d20169aa some improvements by reducing the casts, implemented a get_pos function to get position of byte in byteslice by bitmasking... slightly slower
fapmaster pushed to main at Playground/1brc 2024-07-31 09:26:45 +02:00
2c23e30fe0 hash stationnames myself for faster HashMap
fapmaster pushed to main at Playground/1brc 2024-07-29 12:08:48 +02:00
da72f38e42 don't need own parse_line function
fapmaster pushed to main at Playground/1brc 2024-07-25 15:34:57 +02:00
5aa94e67d1 use read_until method instead of custom function because it is faster than mine using the Bytes struct
fapmaster pushed to main at Playground/1brc 2024-07-25 13:05:39 +02:00
c6b8273d65 applied clippy
fapmaster pushed to main at Playground/1brc 2024-07-25 10:03:23 +02:00
e230a5ce2c My multi-treaded version is now faster than polars and takes less time to compile. It's a little more complex though
fapmaster pushed to main at Playground/1brc 2024-07-24 15:19:07 +02:00
dcaca0cc65 managed to make my solution super fast... but it's also incorrect
fapmaster pushed to main at Playground/1brc 2024-07-23 16:30:41 +02:00
16cf4ca2ca moved from reading String to reading bytes. A little faster, still need to implement for multithreaded solution
fapmaster pushed to main at Playground/1brc 2024-07-23 13:23:53 +02:00
b4e3992c65 mostly made output a bit nicer
393f802741 remove the need for mutex by using channels
327fe8564e use scopes to allow to use mutex without arc
14d608b209 Fastest yet with scaled integers instead of floats
2f82e8788d moved rust implementation to /src/main/rust
Compare 14 commits »
fapmaster pushed to main at Playground/1brc 2024-07-23 13:03:31 +02:00
520df062d3 mostly made output a bit nicer
fapmaster pushed to main at Playground/1brc 2024-07-22 15:50:04 +02:00
fdf1fde553 remove the need for mutex by using channels
fapmaster pushed to main at Playground/1brc 2024-07-22 15:11:57 +02:00
1193ada82d use scopes to allow to use mutex without arc