Git Product home page Git Product logo

ft_containers's Introduction

ft_containers

Roadmap

  • iterator_traits
  • reverse_iterator
  • enable_if
  • lexicographical_compare
  • equal
  • pair
  • vector
  • map
  • stack

Testing

Containers can be tested by performing a simple make command at the root of the repository. That command will generate two binaries named std and ft. In these two binaries are compiled the tests that can be found under the ./test directory, the exact same tests being compiled with the original implementation from the STL and with the home-made ones.

My castorno testing framework is used to produce an elegant output and record execution times.

Relevant execution time differences between the two binaries can be reported by simply executing the compare_execution_time.sh script, which will highlight these differences. N/A is displayed if for a given test, the execution time difference is below 1 ms. ./compare_execution_time.sh | grep -iv 'n/a' can be performed if these lines are not wanted.

More testing

I essentially used mli's tester that covers a lot more than my own tests (definitely something I should fix).

ft_containers's People

Contributors

aurelien-brabant avatar

Watchers

 avatar

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.