about summary refs log tree commit diff stats
path: root/src/utils/map.nim
Commit message (Collapse)AuthorAgeFilesLines
* twtstr: type erase binarySearch instantiationbptato2024-09-061-5/+5
| | | | | | | | Do it like parseEnumNoCase0, so we no longer instantiate a gazillion different binary searches for the same type. While we're at it, make matchNameProduction's searchInMap use uint32 too.
* utils/map: remove unused special casebptato2024-01-171-3/+0
| | | | Even if it were used, it's UB...
* Use std/* imports everywherebptato2024-01-071-1/+1
|
* strwidth & url fixesbptato2023-12-161-3/+3
| | | | | | * actually search Combining for isCombining * fix searchInMap * fix cmpRange of url
* break up twtstr somewhatbptato2023-12-131-3/+3
| | | | | Avoid computing e.g. charwidth data for http which does not need it at all.
* Factor out map search, remove sugarbptato2023-06-291-0/+21