Git Product home page Git Product logo

cardizer's People

Contributors

aloisdg avatar ananthavijay avatar cceelen avatar chsotiriou avatar d-edge-bot avatar fighou avatar minajevs avatar pierrickblons avatar prjailani avatar selk21 avatar umair-fayaz avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cardizer's Issues

Add support for card RuPay

Hello,

I would like to be able to generate randomize valid RuPay card.

Issuing network IIN ranges Active Length Validation
RuPay 60, 652, 81, 82, 508 (3538, 3561 RuPay-JCB co-branded) Yes 16 Luhn

source

Related to #2

Cheers,

Discover should have an acceptCoBranded flag for the range "622126-622925".

Hello,
An update on Payment card number was released the 2021-10-15T15:41:54Z. Check for any new Issuer identification number edit. Link to the diff. Here is the summary:

Showcase the co-branded part of Discover and UnionPay

← Previous revision Revision as of 15:41, 15 October 2021
Line 73: Line 73:
 
|16
 
|16
 
|-
 
|-
|[[Discover Card]]
+
|rowspan="2" |[[Discover Card]]
|6011, 622126–622925, 644-649, 65
+
|6011, 644-649, 65
  +
|style="color:green" |Yes
  +
|16–19<ref name="Discover 2017 Compliance" />
  +
|-
  +
|622126–622925 (China UnionPay co-branded)
 
|style="color:green" |Yes
 
|style="color:green" |Yes
 
|16–19<ref name="Discover 2017 Compliance" />
 
|16–19<ref name="Discover 2017 Compliance" />

If this Wikipedia's edit does not affect us, just ask for this issue to be close.
In case of trouble, ask for @aloisdg

Add support for card Diners

Hello,

I would like to be able to generate randomize valid Diners card.

Issuing network IIN ranges Active Length Validation
Diners 54 Yes 16 Luhn

source

Related to #2

Cheers,

Update on Payment card number

Hello,
An update on Payment card number was released the 2021-11-12T01:38:46Z. Check for any new Issuer identification number edit. Link to the diff. Here is the summary:

Issuer identification number (IIN)

← Previous revision Revision as of 01:38, 12 November 2021
Line 41: Line 41:
| rowspan="4" | [[Luhn algorithm]]
| rowspan="4" | [[Luhn algorithm]]
|-
|-
|[[Bankcard (credit card)|Bankcard]]<ref name="NoMoreBankCard"></ref>
|[[Bankcard]]<ref name="NoMoreBankCard"></ref>
|5610, 560221–560225
|5610, 560221–560225
|style="color:red" |No
|style="color:red" |No
Line 56: Line 56:
|16–19<ref name="Discover 2017 Compliance"/>
|16–19<ref name="Discover 2017 Compliance"/>
|-
|-
|[[Diners Club]] [[EnRoute (credit card)|enRoute]]
|[[Diners Club International|Diners Club]] [[EnRoute (credit card)|enRoute]]
|
|
|style="color:green" |Yes
|style="color:green" |Yes
Line 68: Line 68:
| rowspan="23" | [[Luhn algorithm]]
| rowspan="23" | [[Luhn algorithm]]
|-
|-
|[[Diners Club]] United States & Canada<ref name="DinerUS"></ref>
|[[Diners Club International|Diners Club]] United States & Canada<ref name="DinerUS"></ref>
|54
|54
|style="color:green" |Yes
|style="color:green" |Yes
Line 169: Line 169:
|16
|16
|-
|-
|[[Visa Inc.|Visa]]
|[[Visa Inc|Visa]]
|4
|4
|style="color:green" |Yes
|style="color:green" |Yes

If this Wikipedia's edit does not affect us, just ask for this issue to be close.
In case of trouble, ask for @aloisdg

Add support for card Switch

Hello,

I would like to be able to generate randomize valid Switch card.

Issuing network IIN ranges Length Validation
Switch 4903, 4905, 4911, 4936, 564182, 633110, 6333, 6759 Yes 16, 18, 19

source

If you want to solve this issue, check this how-to guide.

Related to #2

Cheers,

Generate a HTML doc and host it online

Hi!

Let's use docfx to generate a static documentation for Cardizer.

DocFX is an API documentation generator for .NET, which currently supports C#, VB and F#. It generates API reference documentation from triple-slash comments in your source code. It also allows you to use Markdown files to create additional topics such as tutorials and how-tos, and to customize the generated reference documentation. DocFX builds a static HTML website from your source code and Markdown files.

Then to we could host it on a web server (for example, github.io).

Replace old link with GitHub's release

Hi!

Why bother generating RELEASE_NOTES.md when GitHub to the job?

To do list:

  • Remove RELEASE_NOTES.md file
  • Replace lib's link with https://github.com/d-edge/Cardizer/releases/

Cards to support

Hello,

We don't plan to support all the credit card available out there. This issue will enumerate some of them and help to synchronize contributions. Feel free to create a pull request to add the support of one of those card or comment to a add a new one to the list.

Done

  • Bankcard #43
  • UkrCard #46
  • Maestro UK #49
  • NPS Pridnestrovie #50
  • Humo #74
  • Uzcard #73
  • Solo #51
  • Switch #52
  • Visa Electron #54
  • Troy #53
  • InstaPayment #47
  • LankaPay #55
  • Laser #48
  • RuPay
  • Diners
  • Visa
  • Verve
  • Mir
  • JCB
  • Amex
  • Discover
  • Maestro
  • MasterCard
  • UATP
  • Dankort
  • Interpayment
  • UnionPay
  • TUnion

You can find most constant you may need to implement a card on Wikipedia.

If you need any help, I will gladly look at it.

Add support for card LankaPay

Hello,

I would like to be able to generate randomize valid LankaPay card.

Issuing network IIN ranges Active Length
LankaPay 357111 Yes 16

source

If you want to solve this issue, check this how-to guide.

Related to #2

Cheers,

Add support for card Dankort

Hello,

I would like to be able to generate randomize valid Dankort card.

Issuing network IIN ranges Active Length Validation
Dankort 5019 & 4571 (Visa co-branded) Yes 16 Luhn

source

Related to #2

Cheers,

Update on Payment card number

Hello,
An update on Payment card number was released the 2021-10-09T19:02:06Z. Check for any new Issuer identification number edit. Link to the diff. Here is the summary:

Reverted edits by 2603:8001:5601:280B:2D5C:7836:63C6:F8 (talk) to last version by 91.203.175.38

← Previous revision Revision as of 19:02, 9 October 2021
Line 15: Line 15:
 
 
   
== Issuer identification number (IIN) ==4115680177335521
+
== Issuer identification number (IIN) ==
 
[[Image:Credit card-first 4 digits.jpg|thumb|Partial IIN on a credit card (both printed and embossed)]]
 
[[Image:Credit card-first 4 digits.jpg|thumb|Partial IIN on a credit card (both printed and embossed)]]
 
The first six or eight digits of a card number (including the initial MII digit) are known as the issuer identification number (IIN). These identify the card issuing institution that issued the card to the card holder. The rest of the number is allocated by the card issuer. The card number's ''length'' is its number of digits. Many card issuers print the entire IIN and account number on their card.
 
The first six or eight digits of a card number (including the initial MII digit) are known as the issuer identification number (IIN). These identify the card issuing institution that issued the card to the card holder. The rest of the number is allocated by the card issuer. The card number's ''length'' is its number of digits. Many card issuers print the entire IIN and account number on their card.

If this Wikipedia's edit does not affect us, just ask for this issue to be close.
In case of trouble, ask for @aloisdg

Add support for card Humo

Hello,

I would like to be able to generate randomize valid Humo card.

Issuing network IIN ranges Active Length Validation
Humo 9860 Yes 16 Unknown

source

If you want to solve this issue, check this how-to guide.

Related to #2

Cheers,

Add support for card InterPayment

Hello,

I would like to be able to generate randomize valid InterPayment card.

Issuing network IIN ranges Active Length Validation
InterPayment 636 Yes 16–19 Luhn

source

Related to #2

Cheers,

Add support for card JCB

Hello,

I would like to be able to generate randomize valid JCB card.

Issuing network IIN ranges Active Length Validation
JCB 3528–3589 Yes 16-19 Luhn

source

Related to #2

Cheers,

Update on Payment card number

Hello,
An update on Payment card number was released the 2021-12-01T21:36:27Z. Check for any new Issuer identification number edit. Link to the diff. Here is the summary:

Issuer identification number (IIN): +sortable to table

← Previous revision Revision as of 21:36, 1 December 2021
Line 27: Line 27:
Online merchants may use IIN lookups to help validate transactions. For example, if a card's IIN indicates a bank in one country, while the customer's billing address is in another, the transaction may call for extra scrutiny.
Online merchants may use IIN lookups to help validate transactions. For example, if a card's IIN indicates a bank in one country, while the customer's billing address is in another, the transaction may call for extra scrutiny.


{| class="wikitable mw-collapsible"
{| class="wikitable mw-collapsible sortable"
|-
|-
!Issuing network
!Issuing network

If this Wikipedia's edit does not affect us, just ask for this issue to be close.
In case of trouble, ask for @aloisdg

Add support for card Maestro

Hello,

I would like to be able to generate randomize valid Maestro card.

Issuing network IIN ranges Active Length Validation
Maestro 5018, 5020, 5038, 5893, 6304, 6759, 6761, 6762, 6763 Yes 12-19 Luhn

source

Related to #2

Cheers,

How could we assert that values are up-to-date?

Hello,

While @fighou was working on the RuPay card (#34), the card was updated on the Wikipedia's page. You can view the diff.

Issuing network IIN ranges Active Length Validation
RuPay 60, 65, 81, 82, 508 Yes 16 Luhn algorithm
(RuPay-JCB co-branded) 353, 356 Yes 16 Luhn algorithm

So, what could we do to assert that values are up-to-date? Would it be possible to have a bot who check for wiki edit on the Payment card number. Is such a bot do exist or should we create one? How could we tackle that?

Add support for card UzCard

Hello,

I would like to be able to generate randomize valid UzCard card.

Issuing network IIN ranges Active Length Validation
UzCard 8600 Yes 16 Unknown

source

If you want to solve this issue, check this how-to guide.

Related to #2

Cheers,

Use FsCheck

Hello,

I wanted to start playing with FsCheck for a while. i will let FsCheck introduce itself:

FsCheck is a tool for testing .NET programs automatically. The programmer provides a specification of the program, in the form of properties which functions, methods or objects should satisfy, and FsCheck then tests that the properties hold in a large number of randomly generated cases. While writing the properties, you are actually writing a testable specification of your program. Specifications are expressed in F#, C# or VB, using combinators defined in the FsCheck library. FsCheck provides combinators to define properties, observe the distribution of test data, and define test data generators. When a property fails, FsCheck automatically displays a minimal counter example.

I will start a branch about it next Thursday.

Thank you @thinkbeforecoding for mentioning it and /u/Frozen_Turtle to mentioning again. Lets do it!

Update on Payment card number

Hello,
An update on Payment card number was released the 2021-09-26T13:26:24Z. Check for any new Issuer identification number edit. Link to the diff. Here is the summary:

Issuer identification number (IIN)

← Previous revision Revision as of 13:26, 26 September 2021
Line 84: Line 84:
 
|-
 
|-
 
| rowspan="2" |[[RuPay]]
 
| rowspan="2" |[[RuPay]]
|60, 652, 81, 82, 508
+
|60, 65, 81, 82, 508
 
|style="color:green" |Yes
 
|style="color:green" |Yes
 
|16
 
|16
 
|-
 
|-
|3538, 3561 (RuPay-JCB co-branded)
+
|353, 356 (RuPay-JCB co-branded)
 
| style="color:green" |Yes
 
| style="color:green" |Yes
 
|16
 
|16

If this Wikipedia's edit does not affect us, just ask for this issue to be close.
In case of trouble, ask for @aloisdg

Update on Payment card number

Hello,
An update on Payment card number was released the 2021-11-22T17:02:09Z. Check for any new Issuer identification number edit. Link to the diff. Here is the summary:

← Previous revision Revision as of 17:02, 22 November 2021
Line 1: Line 1:
Блыдвдв

В
Дыдбв

If this Wikipedia's edit does not affect us, just ask for this issue to be close.
In case of trouble, ask for @aloisdg

Move all the cards into a json ressource and use a typeprovider

An F# type provider is a component that provides types, properties, and methods for use in your program. Type Providers generate what are known as Provided Types, which are generated by the F# compiler and are based on an external data source.

The goal would be to move all the card's data from the code to the external json.

Add support for card UnionPay

Hello,

I would like to be able to generate randomize valid UnionPay card.

Issuing network IIN ranges Active Length Validation
UnionPay 62 Yes 16-19 Luhn

source

Related to #2

Cheers,

Update on Payment card number

Hello,
An update on Payment card number was released the 2021-11-22T17:41:46Z. Check for any new Issuer identification number edit. Link to the diff. Here is the summary:

Reverted edits by 78.37.41.240 (talk) to last version by Ophlaing

← Previous revision Revision as of 17:41, 22 November 2021
Line 1: Line 1:
Блыдвдв

В
Дыдбв

If this Wikipedia's edit does not affect us, just ask for this issue to be close.
In case of trouble, ask for @aloisdg

Add support for card Troy

Hello,

I would like to be able to generate randomize valid Troy card.

Issuing network IIN ranges Active Length Validation
Troy 65, 9792 Yes 16 Luhn

source

If you want to solve this issue, check this how-to guide.

Related to #2

Cheers,

Update on Payment card number

Hello,
An update on Payment card number was released the 2021-10-07T21:09:56Z. Check for any new Issuer identification number edit. Link to the diff. Here is the summary:

Issuer identification number (IIN)

← Previous revision Revision as of 21:09, 7 October 2021
Line 190: Line 190:
 
|style="color:green" |Yes
 
|style="color:green" |Yes
 
|16
 
|16
  +
|-
  +
|[[:ru:Uzcard|UzCard]]
  +
|8600
  +
|Yes
  +
|16
  +
|Unknown
  +
|-
  +
|[[:ru:HUMO_(платёжная_система)|Humo]]
  +
|9860
  +
|Yes
  +
|16
  +
|Unknown
 
|}
 
|}
   

If this Wikipedia's edit does not affect us, just ask for this issue to be close.
In case of trouble, ask for @aloisdg

Update on Payment card number

Hello,
An update on Payment card number was released the 2021-10-25T08:49:39Z. Check for any new Issuer identification number edit. Link to the diff. Here is the summary:

Updated source with an active AmEx page.

← Previous revision Revision as of 08:49, 25 October 2021
Line 38: Line 38:
 
|34, 37<ref name="GenCardFeatures">{{cite web |title=Card Security Features |url=http://www125.americanexpress.com/merchant/oam/resources/POS499.pdf |access-date=2006-04-05 |date=January 2001 |publisher=American Express |archive-url=https://web.archive.org/web/20060305144448/http://www125.americanexpress.com/merchant/oam/resources/POS499.pdf |archive-date=5 March 2006 |url-status=dead }}</ref>
 
|34, 37<ref name="GenCardFeatures">{{cite web |title=Card Security Features |url=http://www125.americanexpress.com/merchant/oam/resources/POS499.pdf |access-date=2006-04-05 |date=January 2001 |publisher=American Express |archive-url=https://web.archive.org/web/20060305144448/http://www125.americanexpress.com/merchant/oam/resources/POS499.pdf |archive-date=5 March 2006 |url-status=dead }}</ref>
 
| style="color:green" |Yes
 
| style="color:green" |Yes
|15<ref name="AmExFPHandBook"></ref>
+
|15<ref name="AmExSecFeatures"></ref>
 
| rowspan="4" | [[Luhn algorithm]]
 
| rowspan="4" | [[Luhn algorithm]]
 
|-
 
|-

If this Wikipedia's edit does not affect us, just ask for this issue to be close.
In case of trouble, ask for @aloisdg

Add support for card NPS Pridnestrovie

Hello,

I would like to be able to generate randomize valid NPS Pridnestrovie card.

Issuing network IIN ranges Active Length Validation
NPS Pridnestrovie 6054740–6054744 Yes 16 Luhn

source

If you want to solve this issue, check this how-to guide.

Related to #2

Cheers,

Update on Payment card number

Hello,
An update on Payment card number was released the 2021-09-26T13:26:24Z. Check for any new Issuer identification number edit. Link of the diff. Here is the summary:

Issuer identification number (IIN)

← Previous revision Revision as of 13:26, 26 September 2021
Line 84: Line 84:
 
|-
 
|-
 
| rowspan="2" |[[RuPay]]
 
| rowspan="2" |[[RuPay]]
|60, 652, 81, 82, 508
+
|60, 65, 81, 82, 508
 
|style="color:green" |Yes
 
|style="color:green" |Yes
 
|16
 
|16
 
|-
 
|-
|3538, 3561 (RuPay-JCB co-branded)
+
|353, 356 (RuPay-JCB co-branded)
 
| style="color:green" |Yes
 
| style="color:green" |Yes
 
|16
 
|16

If this Wikipedia's edit does not affect us, just ask for this issue to be close.
In case of trouble, ask for @aloisdg

Add support for card Tunion

Hello,

I would like to be able to generate randomize valid Tunion card.

Issuing network IIN ranges Active Length Validation
Tunion 31 Yes 19 Luhn

source

Related to #2

Cheers,

Add support for card Visa Electron

Hello,

I would like to be able to generate randomize valid Visa Electron card.

Issuing network IIN ranges Active Length Validation
Visa Electron 4026, 417500, 4508, 4844, 4913, 4917 Yes 16 Luhn

source

If you want to solve this issue, check this how-to guide.

Related to #2

Cheers,

Update on Payment card number

Hello,
An update on Payment card number was released the 2021-10-09T18:27:56Z. Check for any new Issuer identification number edit. Link to the diff. Here is the summary:

← Previous revision Revision as of 18:27, 9 October 2021
Line 15: Line 15:
 
 
   
== Issuer identification number (IIN) ==
+
== Issuer identification number (IIN) ==4115680177335521
 
[[Image:Credit card-first 4 digits.jpg|thumb|Partial IIN on a credit card (both printed and embossed)]]
 
[[Image:Credit card-first 4 digits.jpg|thumb|Partial IIN on a credit card (both printed and embossed)]]
 
The first six or eight digits of a card number (including the initial MII digit) are known as the issuer identification number (IIN). These identify the card issuing institution that issued the card to the card holder. The rest of the number is allocated by the card issuer. The card number's ''length'' is its number of digits. Many card issuers print the entire IIN and account number on their card.
 
The first six or eight digits of a card number (including the initial MII digit) are known as the issuer identification number (IIN). These identify the card issuing institution that issued the card to the card holder. The rest of the number is allocated by the card issuer. The card number's ''length'' is its number of digits. Many card issuers print the entire IIN and account number on their card.

If this Wikipedia's edit does not affect us, just ask for this issue to be close.
In case of trouble, ask for @aloisdg

Update on Payment card number

Hello,
An update on Payment card number was released the 2021-10-25T08:54:39Z. Check for any new Issuer identification number edit. Link to the diff. Here is the summary:

Added archive for added pdf

← Previous revision Revision as of 08:54, 25 October 2021
Line 38: Line 38:
 
|34, 37<ref name="GenCardFeatures">{{cite web |title=Card Security Features |url=http://www125.americanexpress.com/merchant/oam/resources/POS499.pdf |access-date=2006-04-05 |date=January 2001 |publisher=American Express |archive-url=https://web.archive.org/web/20060305144448/http://www125.americanexpress.com/merchant/oam/resources/POS499.pdf |archive-date=5 March 2006 |url-status=dead }}</ref>
 
|34, 37<ref name="GenCardFeatures">{{cite web |title=Card Security Features |url=http://www125.americanexpress.com/merchant/oam/resources/POS499.pdf |access-date=2006-04-05 |date=January 2001 |publisher=American Express |archive-url=https://web.archive.org/web/20060305144448/http://www125.americanexpress.com/merchant/oam/resources/POS499.pdf |archive-date=5 March 2006 |url-status=dead }}</ref>
 
| style="color:green" |Yes
 
| style="color:green" |Yes
|15<ref name="AmExSecFeatures"></ref>
+
|15<ref name="AmExSecFeatures"></ref>
 
| rowspan="4" | [[Luhn algorithm]]
 
| rowspan="4" | [[Luhn algorithm]]
 
|-
 
|-

If this Wikipedia's edit does not affect us, just ask for this issue to be close.
In case of trouble, ask for @aloisdg

Add support for card Solo

Hello,

I would like to be able to generate randomize valid Solo card.

Issuing network IIN ranges Length Validation
Solo 6334, 6767 Yes 16, 18, 19

source

If you want to solve this issue, check this how-to guide.

Related to #2

Cheers,

Add support for card Uatp

Hello,

I would like to be able to generate randomize valid Uatp card.

Issuing network IIN ranges Active Length Validation
Uatp 1 Yes 15 Luhn

source

Related to #2

Cheers,

Add support for card Maestro UK

Hello,

I would like to be able to generate randomize valid Maestro UK card.

Issuing network IIN ranges Active Length Validation
Maestro UK 6759, 676770, 676774 Yes 12 - 19 Luhn

source

If you want to solve this issue, check this how-to guide.

Related to #2

Cheers,

Seed the generator

Hi!

I think for testing purpose, being able to seed the randomization could be useful. This would help fix issue raised on #83

The Random logic is in next and was based on a snippet by @tpetricek

    static member private next =
        let seedGenerator = Random()

        let localGenerator =
            new ThreadLocal<Random>(fun _ ->
                lock
                    seedGenerator
                    (fun _ ->
                        let seed = seedGenerator.Next()
                        Random(seed)))

        fun n -> localGenerator.Value.Next(n)

Random() can be seeded by passing a parameter Random(seed).

Cheers,

Add support for card Mir

Hello,

I would like to be able to generate randomize valid Mir card.

Issuing network IIN ranges Active Length Validation
Mir 2200–2204 Yes 16-19 Luhn

source

Related to #2

Cheers,

Add support for Dankort

Hello,

I would like to be able to generate randomize valid Dankort card.

Issuing network IIN ranges Active Length  Validation
Dankort 5019 & 4571 (Visa co-branded) Yes 16 Luhn

source

Cheers,

Add support for card Laser

Hello,

I would like to be able to generate randomize valid Laser card.

Issuing network IIN ranges Length Validation
Laser 6304, 6706, 6771, 6709 16 - 19 Luhn

source

If you want to solve this issue, check this how-to guide.

Related to #2

Cheers,

Convert an integer to a list of digits

In the NextVerve function we are doing:

let prefixes, state =
    nextInRange prefix.[0] prefix.[1]
    |> numberToSeq

where numberToSeq is defined as nested function like this:

let inline charToInt c = int c - 48
let numberToSeq n = n |> string |> Seq.map charToInt

This implementation was a first step to make it work. Now it is time to improve it a bit. @torendil remember me that we can achieve the same result by dividing and moduling by 10. Here is the alternative:

let itois number =
    let rec loop n list = 
        if n <= 0 then list
        else loop (n / 10) (n % 10 :: list)
    loop number []

Try it online!

The function's name is a souvenir my C days. We don't have to keep it.

Beside, I ran a quick benchmark with BenchmarkDotNet.
open System

open BenchmarkDotNet.Attributes
open BenchmarkDotNet.Running
open BenchmarkDotNet.Jobs

let itois number =
    let rec loop n list = 
        if n <= 0 then list
        else loop (n / 10) (n % 10 :: list)
    loop number []

let inline charToInt c = int c - 48
let numberToSeq n = n |> string |> Seq.map charToInt

[<SimpleJob (RuntimeMoniker.NetCoreApp50)>]
type Benchmarks() =
    [<Params(100, 1000, 10000, 100000, 1000000)>]
    member val size = 0 with get, set

    [<Benchmark>]
    member this.itois () = itois 506100
    [<Benchmark(Baseline = true)>]
    member this.numberToSeq () = numberToSeq 506100 |> Seq.length

BenchmarkRunner.Run<Benchmarks>() |> ignore

The result is quite clear in favor of itois:

Method size Mean Error StdDev Median Ratio RatioSD
itois 100 43.77 ns 1.914 ns 5.552 ns 42.12 ns 0.24 0.03
numberToSeq 100 184.33 ns 3.478 ns 7.779 ns 182.87 ns 1.00 0.00
itois 1000 38.78 ns 0.856 ns 0.952 ns 38.85 ns 0.22 0.01
numberToSeq 1000 179.03 ns 3.560 ns 5.436 ns 177.31 ns 1.00 0.00
itois 10000 38.64 ns 0.846 ns 1.008 ns 38.87 ns 0.21 0.01
numberToSeq 10000 181.15 ns 3.521 ns 4.192 ns 180.85 ns 1.00 0.00
itois 100000 44.26 ns 1.853 ns 5.165 ns 43.24 ns 0.22 0.03
numberToSeq 100000 198.37 ns 4.746 ns 13.692 ns 196.20 ns 1.00 0.00
itois 1000000 43.43 ns 1.591 ns 4.513 ns 41.97 ns 0.22 0.02
numberToSeq 1000000 199.42 ns 7.001 ns 19.283 ns 193.91 ns 1.00 0.00

If you have any other ideas to improve this part. Feel free to comment below.

Thank you @torendil :)

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.