Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Weird and The Wonderful
  4. The biggest little array you've ever seen.

The biggest little array you've ever seen.

Scheduled Pinned Locked Moved The Weird and The Wonderful
designcsharpcomgraphicsiot
4 Posts 3 Posters 16 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    honey the codewitch
    wrote on last edited by
    #1

    I just used my Rolex lexer generator to generate a 5.7MB C# file and at least 95% of it is a single array of integers. How's that for testing the limits of C# arrays?

    Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

    A T 2 Replies Last reply
    0
    • H honey the codewitch

      I just used my Rolex lexer generator to generate a 5.7MB C# file and at least 95% of it is a single array of integers. How's that for testing the limits of C# arrays?

      Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

      A Offline
      A Offline
      Andre Oosthuizen
      wrote on last edited by
      #2

      And here I were thinking that my Rolex is just for telling time, oh sorry, just noted it is a Lolex, made in ... :-D

      1 Reply Last reply
      0
      • H honey the codewitch

        I just used my Rolex lexer generator to generate a 5.7MB C# file and at least 95% of it is a single array of integers. How's that for testing the limits of C# arrays?

        Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

        T Offline
        T Offline
        trønderen
        wrote on last edited by
        #3

        In my student days, upon finding the book 'A Million Random Digits with 100,000 Normal Deviates[^], simply because I was fascinated by the madness of publishing a whole book of random numbers. In the Numerical Methods course, we had been through the theory of random number generator. The cost of the book was something like USD 150. It would be a great thing to pass around at parties with other Comp.Sci. students. Well, I didn't spend the USD 150. Every now and then I regret it. As my link shows, it is still available, but my friends are different now; they don't see the absurdity / humor of it. If I need a million integers, a generator would fit in a lot less space than 5.7 Mbytes. (Btw: What makes a file of a million or so integers C#)? I'd think it was either binary or ASCII/ISO8859/UTF8, but neither is language dependent!)

        H 1 Reply Last reply
        0
        • T trønderen

          In my student days, upon finding the book 'A Million Random Digits with 100,000 Normal Deviates[^], simply because I was fascinated by the madness of publishing a whole book of random numbers. In the Numerical Methods course, we had been through the theory of random number generator. The cost of the book was something like USD 150. It would be a great thing to pass around at parties with other Comp.Sci. students. Well, I didn't spend the USD 150. Every now and then I regret it. As my link shows, it is still available, but my friends are different now; they don't see the absurdity / humor of it. If I need a million integers, a generator would fit in a lot less space than 5.7 Mbytes. (Btw: What makes a file of a million or so integers C#)? I'd think it was either binary or ASCII/ISO8859/UTF8, but neither is language dependent!)

          H Offline
          H Offline
          honey the codewitch
          wrote on last edited by
          #4

          It's a DFA state machine lexer for the C# language, so it's pretty expansive.

          Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups