Skip to content

Use a power of two as a base. #52

Open
@make-github-pseudonymous-again

Description

This would enable to use fast conversion to hexadecimal. With the current implementation in @aureooms/js-integer-big-endian we can use base = Math.pow(2,26) | 0. Although v8 does not seem to be able to optimize modulo and division operations at the moment, it could happen eventually?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions