By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: RISC-V Optimized strnlen Implementation For Linux 7.1 Yields Big Speed-Up
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > RISC-V Optimized strnlen Implementation For Linux 7.1 Yields Big Speed-Up
Computing

RISC-V Optimized strnlen Implementation For Linux 7.1 Yields Big Speed-Up

News Room
Last updated: 2026/04/09 at 12:12 PM
News Room Published 9 April 2026
Share
RISC-V Optimized strnlen Implementation For Linux 7.1 Yields Big Speed-Up
SHARE

In addition to RISC-V discontinuing its eXecute In Place “XIP” kernel support for Linux 7.1, there is an optimized strnlen() function coming for Linux 7.1 on RISC-V as well as some other optimized functions.

Feng Jiang with KylinOS wrote a hand-optimized strnlen() implementation for RISC-V with both a generic code path and Zbb-powered version. The strnlen() function used throughout the kernel for safely determining the length of a string is seeing a massive speed-up as a result of the hand-optimized RISC-V Assembly code.

RISC-V strnlen benchmark

Benchmarks are showing as much as a +427.5% improvement with the RISC-V optimized strnlen function appearing at long last.

The strnlen optimization patch is queued into the RISC-V’s “for-next” Git branch ahead of the Linux 7.1 merge window opening next week.

There is also a RISC-V optimized strchr() function too for up to a 7% improvement for finding the first occurence of the character in a string. And the optimized strrchr() for the reverse searching yielding up to a 8% improvement from that hand-written RISC-V Assembly for the Linux kernel.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article New Motorola Razr leaks showcase a familiar-looking foldable in new colours New Motorola Razr leaks showcase a familiar-looking foldable in new colours
Next Article Now Brief in One UI 9 may better prepare you for the week’s weather Now Brief in One UI 9 may better prepare you for the week’s weather
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Signal plans changes to protect against phishing
Signal plans changes to protect against phishing
Software
this connected bracelet wants to know your emotions before you
this connected bracelet wants to know your emotions before you
Mobile
China is thinking bigger with its Tiangong space station
China is thinking bigger with its Tiangong space station
Computing
How Remote Work and Smart Travel Technology Are Transforming Campervan Tourism in Spain
How Remote Work and Smart Travel Technology Are Transforming Campervan Tourism in Spain
Trending

You Might also Like

China is thinking bigger with its Tiangong space station
Computing

China is thinking bigger with its Tiangong space station

2 Min Read
Quantum computing has just simulated its largest molecule, 12,635 modeled atoms
Computing

Quantum computing has just simulated its largest molecule, 12,635 modeled atoms

5 Min Read
3D printed algae will replace our light bulbs
Computing

3D printed algae will replace our light bulbs

5 Min Read
This is a parachute that was cooked for Mars
Computing

This is a parachute that was cooked for Mars

3 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?