René's URL Explorer Experiment


Title: optimized template string substitutions a bit by firewave · Pull Request #4840 · cppcheck-opensource/cppcheck · GitHub

Open Graph Title: optimized template string substitutions a bit by firewave · Pull Request #4840 · cppcheck-opensource/cppcheck

X Title: optimized template string substitutions a bit by firewave · Pull Request #4840 · cppcheck-opensource/cppcheck

Description: static analysis of C/C++ code. Contribute to cppcheck-opensource/cppcheck development by creating an account on GitHub.

Open Graph Description: The colors and special characters are fixed replacements which will be identical for each message so we can simply replace those once instead of doing it for each message. We cannot re-use the new ...

X Description: The colors and special characters are fixed replacements which will be identical for each message so we can simply replace those once instead of doing it for each message. We cannot re-use the new ...

Opengraph URL: https://github.com/cppcheck-opensource/cppcheck/pull/4840

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:4a259ab8-45ee-35cb-8d36-14d9a2685d6a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBD26:13C54:53896F8:7641DC1:6A4FF9C1
html-safe-nonced34bff00fb58e6fbcdce9775314852901665dcea101f5ee79e91010f253bfea1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDI2OjEzQzU0OjUzODk2Rjg6NzY0MURDMTo2QTRGRjlDMSIsInZpc2l0b3JfaWQiOiI4MDQ5MzM5ODUwNjQ4NzEzNjY1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca0ef92e237b3ab4dd7725cc6746ec252ea13b16affccc3810bbabb2d62a0c451
hovercard-subject-tagpull_request:1260298525
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/cppcheck-opensource/cppcheck/pull/4840/commits
twitter:imagehttps://opengraph.githubassets.com/3bb519fc68b1c1c055c149e8b37145e2d67e3661ef15ac2166f75ccd76310b66/cppcheck-opensource/cppcheck/pull/4840
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3bb519fc68b1c1c055c149e8b37145e2d67e3661ef15ac2166f75ccd76310b66/cppcheck-opensource/cppcheck/pull/4840
og:image:altThe colors and special characters are fixed replacements which will be identical for each message so we can simply replace those once instead of doing it for each message. We cannot re-use the new ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefirewave
hostnamegithub.com
expected-hostnamegithub.com
None3bd0ff5d28a87b4801a63fb38c2a21a91b0a700dca159dc9416aeae05771b899
turbo-cache-controlno-cache
go-importgithub.com/cppcheck-opensource/cppcheck git https://github.com/cppcheck-opensource/cppcheck.git
octolytics-dimension-user_id278097703
octolytics-dimension-user_logincppcheck-opensource
octolytics-dimension-repository_id143131
octolytics-dimension-repository_nwocppcheck-opensource/cppcheck
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id143131
octolytics-dimension-repository_network_root_nwocppcheck-opensource/cppcheck
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release67a336083e4dcb40224dc2c01cd4c7ed413bdb09
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/cppcheck/pull/4840/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F4840%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F4840%2Fcommits
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=cppcheck-opensource%2Fcppcheck
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/4840/commits
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/4840/commits
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/4840/commits
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/4840/commits
cppcheck-opensource https://github.com/cppcheck-opensource
cppcheckhttps://github.com/cppcheck-opensource/cppcheck
Notifications https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Fork 1.6k https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Star 6.7k https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Code https://github.com/cppcheck-opensource/cppcheck
Pull requests 203 https://github.com/cppcheck-opensource/cppcheck/pulls
Actions https://github.com/cppcheck-opensource/cppcheck/actions
Security and quality 0 https://github.com/cppcheck-opensource/cppcheck/security
Insights https://github.com/cppcheck-opensource/cppcheck/pulse
Code https://github.com/cppcheck-opensource/cppcheck
Pull requests https://github.com/cppcheck-opensource/cppcheck/pulls
Actions https://github.com/cppcheck-opensource/cppcheck/actions
Security and quality https://github.com/cppcheck-opensource/cppcheck/security
Insights https://github.com/cppcheck-opensource/cppcheck/pulse
danmarhttps://github.com/danmar
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
firewave:templatehttps://github.com/firewave/cppcheck/tree/template
Conversationhttps://github.com/cppcheck-opensource/cppcheck/pull/4840
Commits13 (13)https://github.com/cppcheck-opensource/cppcheck/pull/4840/commits
Checkshttps://github.com/cppcheck-opensource/cppcheck/pull/4840/checks
Files changedhttps://github.com/cppcheck-opensource/cppcheck/pull/4840/files
optimized template string substitutions a bithttps://github.com/cppcheck-opensource/cppcheck/pull/4840/commits#top
danmarhttps://github.com/danmar
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
firewave:templatehttps://github.com/firewave/cppcheck/tree/template
errorlogger.cpp: optimized `replaceColors()` by only processing the string oncehttps://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/4e7d3232810f733e1a9f4fdb2ff27918716f5e9e
https://github.com/firewave
firewavehttps://github.com/cppcheck-opensource/cppcheck/commits?author=firewave
4e7d323https://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/4e7d3232810f733e1a9f4fdb2ff27918716f5e9e
https://github.com/cppcheck-opensource/cppcheck/tree/4e7d3232810f733e1a9f4fdb2ff27918716f5e9e
color.cpp: optimized `toString()` for Windowshttps://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/df368f953131f63d6c90445a2bce75a852aca55d
https://github.com/firewave
firewavehttps://github.com/cppcheck-opensource/cppcheck/commits?author=firewave
df368f9https://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/df368f953131f63d6c90445a2bce75a852aca55d
https://github.com/cppcheck-opensource/cppcheck/tree/df368f953131f63d6c90445a2bce75a852aca55d
errorlogger.cpp: extracted replacing of special characters into function which only processes the string oncehttps://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/8eb5e072832db25fd93b6d3ab407bf837f5317f4
https://github.com/firewave
firewavehttps://github.com/cppcheck-opensource/cppcheck/commits?author=firewave
8eb5e07https://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/8eb5e072832db25fd93b6d3ab407bf837f5317f4
https://github.com/cppcheck-opensource/cppcheck/tree/8eb5e072832db25fd93b6d3ab407bf837f5317f4
substitute static parts of the template strings only oncehttps://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/8e44ebdd53405c4608078c708d7ef7e20c5949b7
https://github.com/firewave
firewavehttps://github.com/cppcheck-opensource/cppcheck/commits?author=firewave
8e44ebdhttps://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/8e44ebdd53405c4608078c708d7ef7e20c5949b7
https://github.com/cppcheck-opensource/cppcheck/tree/8e44ebdd53405c4608078c708d7ef7e20c5949b7
library.cpp: avoid redundant `tinyxml2::XMLElement::GetText()` calls as they perform a lookuphttps://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/af88d89568dff3a1e3deeb3e81b40c7141aa7145
https://github.com/firewave
firewavehttps://github.com/cppcheck-opensource/cppcheck/commits?author=firewave
af88d89https://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/af88d89568dff3a1e3deeb3e81b40c7141aa7145
https://github.com/cppcheck-opensource/cppcheck/tree/af88d89568dff3a1e3deeb3e81b40c7141aa7145
errorlogger.cpp: extracted replacement logic into separate functionhttps://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/e888aaf38af4031120711b5a381ef62c19c9088f
https://github.com/firewave
firewavehttps://github.com/cppcheck-opensource/cppcheck/commits?author=firewave
e888aafhttps://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/e888aaf38af4031120711b5a381ef62c19c9088f
https://github.com/cppcheck-opensource/cppcheck/tree/e888aaf38af4031120711b5a381ef62c19c9088f
errorlogger.cpp: use substitution map when no callstack existshttps://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/a09098e626ebe4d8986687fbb88e6835f2f12029
https://github.com/firewave
firewavehttps://github.com/cppcheck-opensource/cppcheck/commits?author=firewave
a09098ehttps://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/a09098e626ebe4d8986687fbb88e6835f2f12029
https://github.com/cppcheck-opensource/cppcheck/tree/a09098e626ebe4d8986687fbb88e6835f2f12029
improved testing of `--template*` options / added TODOshttps://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/8c8f23092d788947a24d3235309220d9e5a2af23
https://github.com/firewave
firewavehttps://github.com/cppcheck-opensource/cppcheck/commits?author=firewave
8c8f230https://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/8c8f23092d788947a24d3235309220d9e5a2af23
https://github.com/cppcheck-opensource/cppcheck/tree/8c8f23092d788947a24d3235309220d9e5a2af23
testerrorlogger.cpp: fixed `functionConst` selfcheck warningshttps://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/9c32ed49e6e279f9e0d30f74b421294500b645ff
https://github.com/firewave
firewavehttps://github.com/cppcheck-opensource/cppcheck/commits?author=firewave
9c32ed4https://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/9c32ed49e6e279f9e0d30f74b421294500b645ff
https://github.com/cppcheck-opensource/cppcheck/tree/9c32ed49e6e279f9e0d30f74b421294500b645ff
added tests for `Color`https://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/d33a391fe464f8382659579c2ec6f9c7a34e1698
https://github.com/firewave
firewavehttps://github.com/cppcheck-opensource/cppcheck/commits?author=firewave
d33a391https://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/d33a391fe464f8382659579c2ec6f9c7a34e1698
https://github.com/cppcheck-opensource/cppcheck/tree/d33a391fe464f8382659579c2ec6f9c7a34e1698
Colors: Do not output colors to a filehttps://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/18722e14b3ae129e747054e2fa2cfecafd5b87c9
danmarhttps://github.com/cppcheck-opensource/cppcheck/commits?author=danmar
firewavehttps://github.com/cppcheck-opensource/cppcheck/commits?author=firewave
18722e1https://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/18722e14b3ae129e747054e2fa2cfecafd5b87c9
https://github.com/cppcheck-opensource/cppcheck/tree/18722e14b3ae129e747054e2fa2cfecafd5b87c9
cppcheckexecutor.cpp: use streaming operator for color instead of explicitly calling `toString()`https://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/b6aa090edbf4354106cd4dcb5968fb935653a6a9
https://github.com/firewave
firewavehttps://github.com/cppcheck-opensource/cppcheck/commits?author=firewave
b6aa090https://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/b6aa090edbf4354106cd4dcb5968fb935653a6a9
https://github.com/cppcheck-opensource/cppcheck/tree/b6aa090edbf4354106cd4dcb5968fb935653a6a9
errorlogger.cpp: added TODOhttps://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/b1ae6f87f0f619977eade27f4cbe492640a29793
https://github.com/firewave
firewavehttps://github.com/cppcheck-opensource/cppcheck/commits?author=firewave
b1ae6f8https://github.com/cppcheck-opensource/cppcheck/pull/4840/commits/b1ae6f87f0f619977eade27f4cbe492640a29793
https://github.com/cppcheck-opensource/cppcheck/tree/b1ae6f87f0f619977eade27f4cbe492640a29793
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.