!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

986 Members
For people hacking on the Nix package manager itself208 Servers

Load older messages


SenderMessageTime
9 Aug 2021
@mic92:nixos.devMic92There are different hash table implementations one can use.12:14:41
@mic92:nixos.devMic92llvm also has a hash set specific to symbols that allocates strings within the hash table to save memory.12:15:08
@mic92:nixos.devMic92I guess a count should be cheaper than a malloc but maybe you can do the benchmark.12:16:08
@manveru:matrix.orgmanveruwell, i'd imagine a count won't allocate anything in the GC, so it should help for stuff like haskell.nix which has a ton of symbols afaik...12:20:46
@andi:kack.itandi- Why count over find? Do you fear the allocation an allocator might produce? count could probably be more costly than find that (should?) return on the first positive match. 12:40:15

There are no newer messages yet.


Back to Room ListRoom Version: 6