Giter Site home page Giter Site logo

dumbcompleter.jl's People

Contributors

christopher-dg avatar juliatagbot avatar

Stargazers

 avatar

Watchers

 avatar  avatar

dumbcompleter.jl's Issues

Paying for compilation more than once

This confuses me:

julia> using DumbCompleter: completions

julia> @time completions("one");
  1.039109 seconds (2.43 M allocations: 123.255 MiB, 7.04% gc time)

julia> @time completions("one");
  0.000252 seconds (163 allocations: 6.875 KiB)

julia> @time completions("zero");
  0.000115 seconds (50 allocations: 2.125 KiB)

julia> @time completions("zero");
  0.000117 seconds (50 allocations: 2.125 KiB)

julia> @time completions("repe");
  0.142870 seconds (107.66 k allocations: 5.379 MiB, 3.13% gc time)

julia> @time completions("repe");
  0.000135 seconds (64 allocations: 2.719 KiB)

Compilation obviously takes a while on the first call, but I don't know why some later calls require more compilation, albeit to a lesser degree.

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.