GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Notices by divVerent (divverent@social.vivaldi.net)

  1. Embed this notice
    divVerent (divverent@social.vivaldi.net)'s status on Saturday, 29-Mar-2025 21:23:16 JST divVerent divVerent
    in reply to
    • 翠星石
    • iced depresso
    • Wolf480pl
    • :umu: :umu:

    @icedquinn @Suiseiseki @wolf480pl @a1ba TBH diacritics are less of an issue - most operations on strings can easily work on a per-codepoint basis, such as word wrapping - you just need to handle diacritics and other combining codepoints as if they're a word character.

    And for stuff like line length computation, you need to take the different per-character width of your font into account anyway.

    What's really annoying is string comparing, as you now have to apply a normalization first...

    In conversation about 3 months ago from social.vivaldi.net permalink
  2. Embed this notice
    divVerent (divverent@social.vivaldi.net)'s status on Saturday, 29-Mar-2025 21:02:31 JST divVerent divVerent
    in reply to
    • 翠星石
    • Wolf480pl
    • :umu: :umu:

    @Suiseiseki @wolf480pl @a1ba "It depends". UTF-16 is definitely faster to decode because you have fewer loop iterations for the same string (8bit and 16bit RAM reads are about the same speed on the CPU).

    HOWEVER, especially when all codepoints are ASCII, UTF-16 uses twice the memory bandwidth. And that hurts too.

    So, ultimately depends on the character set / language used.

    In conversation about 3 months ago from social.vivaldi.net permalink

    Attachments


User actions

    divVerent

    divVerent

    Software engineer. Mathematics major. All programming languages are bad.In free time, game developer; main titles: #AAAAXY, #Xonotic, #Nexuiz.Super Mario Maker troll fan (i.e. I enjoy watching streamers suffer).Primary: @divVerent

    Tags
    • (None)

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          338035
          Member since
          29 Mar 2025
          Notices
          2
          Daily average
          0

          Feeds

          • Atom
          • Help
          • About
          • FAQ
          • TOS
          • Privacy
          • Source
          • Version
          • Contact

          GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

          Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.