Skip to content

Performance issues with the constructor, fromString, and standardize #36

Description

@Naruyoko

Run the following with profiler:

for(var i=0;i<10000;i++)OmegaNum.hyper(Math.random()*10+3|0)(Math.random()*100+3,Math.random()*100+3);

On my configuration, it ran for 15975ms, taking 3529.7ms in fromString, 3153.3ms in OmegaNum, and 3000.6ms in standardize (self time). The same functions appear by profiling True Infinity Beta. This is quite bad. Of these 3, I think fromString and standardize can be rewritten to perform much better. Maybe it is time to work on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions