Fabian Schmidt fapmaster
fapmaster pushed to master at dotfiles/nvim 2024-08-13 07:55:34 +02:00
11763243dc Update everything and add light theme modifications for kanagawa
fapmaster pushed to main at Playground/1brc 2024-08-12 10:47:39 +02:00
b53212103b Tried looking at what the performance would be if I read the data from a file where every line would have the same length ie. not having to read until eol. But despite not having to search the \n byte (or ; because every station name and temperatures are padded with null bytes) and having a fixed size array instead of vec this is slower (the normal read_until version is actually still just as fast, while the new one is 10x slower)
fapmaster pushed to main at projects/MyDB 2024-08-07 15:12:20 +02:00
8956442679 Continuation
fapmaster pushed to main at projects/MyDB 2024-08-06 16:07:52 +02:00
e72ce51fdd Initial Readme
fapmaster created repository projects/MyDB 2024-08-06 15:53:38 +02:00
fapmaster pushed to main at Playground/1brc 2024-08-05 12:52:45 +02:00
8ffea918c4 either it's slightly faster or it's a measurement error
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