Giter VIP home page Giter VIP logo

klang-re's People

Contributors

j-jzk avatar kevinpgalligan avatar

Watchers

 avatar

klang-re's Issues

Update documentation

The README is outdated. It should contain a quick reference for which syntax klang-re currently supports.

Identify NFAs with a numeric ID?

In Klang, NFAs are compared quite often, so it might be good to optimize it.

An approach that comes to my mind is to use something like the StateFactory used for FA states - a singleton that assigns the objects an incrementing ID. This might not be thread-safe, however (what if two NFAs are created at a same time?).

Another approach would be to simply remove the data attribute from the class, which would make it fall back to simple pointer comparison (I think).

It would probably be good to see if this doesn't affect existing code (tests, mostly), and maybe write some benchmarks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.