vertx-sql-client
vertx-sql-client copied to clipboard
Branch free parse digits
It contains 3 improvements (unfinished):
- O(1) collation lookup table
- branchless/batchy parse digits
- NOT YET STARTED: https://github.com/eclipse-vertx/vertx-sql-client/blob/9073da6171b7688a7491398522dcb6c454bd5960/vertx-mysql-client/src/main/java/io/vertx/mysqlclient/impl/datatype/DataTypeCodec.java#L61 exceed
MinJumpTableSize
(see https://stackoverflow.com/questions/44988841/force-tableswitch-instead-of-lookupswitch for more info): we should find a way to reduce the number of branches here or find a different way to perform it, because the branch predictor AND the JIT doesn't enjoy it