Coder Social home page Coder Social logo

bullywiiplaza / konami-id-card-name-mapping-builder Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 439 KB

A C++ project for creating a card ID to card name mapping

Home Page: https://ygoprodeck.com/api-guide

License: MIT License

C++ 100.00%
api api-guide cpp master-duel ygoprodeck yu-gi-oh card-name cpp-header-generation konami-id card-id-mapping

konami-id-card-name-mapping-builder's Introduction

KONAMI ID -> Card Name Mapping Builder

This C++ project allows you to build a KONAMI ID -> card name mapping based on the YGOProDeck API. A C++ header file is output which you can easily drop into your C++ code.

Compiling

Load the project *.sln file in Visual Studio. Upon building, a vcpkg installation (if you ran vcpkg integrate install before) will install the required libraries automatically (according to the vcpkg.json file). If you want to use global libraries, you can disable manifest mode in the Visual Studio project settings since installing e.g. Boost can take quite long).

Performance

On my machine, the debug build takes about 14s to complete while the release build takes 3.4s so make sure to compile in release mode for good performance. Most of the performance is "wasted" on parsing the JSON in the debug build. In the release build, the downloading dominates the runtime with about 3s since the downloaded JSON is relatively big. Optimized parsing however is very efficient now with only ~400ms runtime.

konami-id-card-name-mapping-builder's People

Contributors

bullywiiplaza avatar

Stargazers

 avatar  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.