Code Monkey home page Code Monkey logo

breton's People

Contributors

puellanivis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

breton's Issues

Proposal: move `lib/util` to `lib/os/process`

The package name “utils” is devoid of specific meaning or purpose. It has long been known that this is a bad idea, and well argued.

However, the current lib/util provides a relatively concise group of concepts around handling process lifetimes, and can be packaged up and moved to a meaningful package name:

  • AtExit/Exit functionality.
  • a process-level Context, HangupChannel support, as well as Shutdown (now Quit)
  • Version and versioning in general
    • Change versioning to use a Semver string (which build systems could then inject).
    • Remove embedded BUILD in favor of passing a Buildstamp into package.
  • Collecting all this together into a convenient Init function.

lib/sort: Radix sort seems to not be any faster than sort.Sort itself…

This is likely related to the matter that in order to do an in-place sort, Radix is working off of a binary radix right now. (Either, put this at the top, or put it at the bottom.)

This effectively works out similar to the QuickSort algorithm, but doesn’t use an actual pivot, and doesn’t actually do any comparisons.

This might make the ByteSliceSlice sort asymptotically faster, but I haven’t checked.

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.